package com.wtwd.device.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author mjy
 * @date 2021/09/18
 * @description
 */
@ApiModel(value="FriendRequestsVo对象", description="")
public class FriendRequestsVo {

    @ApiModelProperty(value = "好友申请表主键id",required = false)
    private Long id;
    @ApiModelProperty(value = "申请人用户id",required = false)
    private Long proposer;
    @ApiModelProperty(value = "状态 1:申请中，2：同意，3拒绝",required = false)
    private Integer state;
    @ApiModelProperty(value = "头像",required = false)
    private String portrait;
    @ApiModelProperty(value = "好友名称",required = false)
    private String name;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProposer() {
        return proposer;
    }

    public void setProposer(Long proposer) {
        this.proposer = proposer;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getPortrait() {
        return portrait;
    }

    public void setPortrait(String portrait) {
        this.portrait = portrait;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "FriendRequestsVo{" +
                "id=" + id +
                ", proposer=" + proposer +
                ", state=" + state +
                ", portrait='" + portrait + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
